{template common/header}
<div id="pt" class="bm cl">
	<div class="z"> 
		<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&rsaquo;</em><a href="plugin.php?id=dc_signin">{lang dc_signin:pluginname}</a>
	</div>
</div>

<div id="dcsignin" class="wp cl">
	<div class="mn">
		<ul class="tb cl">
		<!--{loop $signindh $sk $sdh}-->
			<li<!--{if $sk==$action}--> class="a"<!--{/if}-->><a href="plugin.php?id=dc_signin&action={$sk}">{$sdh}</a></li>
		<!--{/if}-->
		</ul>
		<!--{eval include template('dc_signin:'.$action)}-->
	</div>
	<div class="sd">
		<div class="login-info bm">
			<div class="user-info"><img class="avatar" src="{$_G[setting][ucenterurl]}/avatar.php?uid=$_G[uid]&size=middle"><p>{lang dc_signin:totaldays}{echo $mysignin[days]?$mysignin[days]:0}{lang dc_signin:day}</p><p class="m">{lang dc_signin:monthdays}{echo $mysignin[monthdays]?$mysignin[monthdays]:0}{lang dc_signin:day}</p><p class="m">{lang dc_signin:isreward}{$_G[setting][extcredits][$_G[cache][plugin][dc_signin][extcredit]][title]}{lang dc_signin:maohao}{echo $mysignin[credit]?$mysignin[credit]:0}{lang dc_signin:ge}</p></div>
		</div>
		<div class="bm bw0">
		<div class="sign_div">
		<div class="date-week">
		<div class="date">{echo date(m)}.{echo date(d)}</div>
		<div class="week">{echo $_lang[weekarray][date(w)]}</div>
		</div>
		<div title="{lang dc_signin:condaysstr}{echo $mysignin[condays]?$mysignin[condays]:0}{lang dc_signin:day}" class="sign-num">{echo $mysignin[condays]?$mysignin[condays]:0}</div>
		<!--{if $mysignin[dateline]<$todaystime}--><a href="plugin.php?id=dc_signin:sign" onclick="showWindow('sign', this.href)">{lang dc_signin:qd}</a><!--{else}--><a href="javascript:;">{lang dc_signin:isqd}</a><!--{/if}-->
		</div>
		</div>
		<div class="bm">
			<div class="bm_h cl">
				<h2>{lang dc_signin:qdtj}</h2>
			</div>
			<div class="bm_c">
				<ul class="xl">
					<li><span class="y xi2 xg1">{$signinstats[todaycount]} {lang dc_signin:ren}</span>{lang dc_signin:qdtj_todaycount}</li>
					<li><span class="y xi2 xg1">{$signinstats[yestercount]} {lang dc_signin:ren}</span>{lang dc_signin:qdtj_yestercount}</li>
					<li><span class="y xi2 xg1">{$signinstats[historymaxcount]} {lang dc_signin:ren}</span>{lang dc_signin:qdtj_historycount}</li>
				</ul>
			</div>
		</div>
	</div>
</div>
{template common/footer}